//
//  ViewController.m
//  branch_test002
//
//  Created by Macx on 17/5/14.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    // 设置UI
    [self setupUI];
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super didReceiveMemoryWarning];
 
    
    NSLog(@"点击了屏幕");
    
    // 这是提价的第一个
    NSLog(@"这是提交的第一个, 分支第一个");
    
    
}

- (void)setupUI{

    UIView *view_001 = [[UIView alloc] initWithFrame:CGRectMake(100, 100, 200, 50)];
    view_001.backgroundColor = [UIColor redColor];
    [self.view addSubview:view_001];
    
    //
    UIView *view_002 = [[UIView alloc] initWithFrame:CGRectMake(100, 200, 200, 50)];
    view_002.backgroundColor = [UIColor yellowColor];
    [self.view addSubview:view_002];
}


@end
